<%--
  Created by IntelliJ IDEA.
  User: 17537
  Date: 2023/7/14
  Time: 18:17
  To change this template use File | Settings | File Templates.
--%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <base href="<%= basePath %>"/>
    <title>修改商品信息</title>
</head>
<body>
<h1>修改商品信息页面</h1><br>
<form action="updateGoodsInfo" method="post">
    商品ID：<input type="text" name="goodsId" value="${goods.goodsId}" readonly="readonly"><br>
    商品分类：<input type="text" name="" value="${goods.goodsCategory.categoryName}" readonly="readonly"><br>
    商品名称：<input type="text" name="goodsName" value="${goods.goodsName}"><br>
    关键字：<input type="text" name="keywords" value="${goods.keywords}"><br>
    所属店铺：<input type="text" name="" value="${goods.goodsBusiness.businessName}" readonly="readonly"><br>
    商品描述：<input type="text" name="goodsDescrible" value="${goods.goodsDescrible}"><br>
    市场价：<input type="text" name="marketPrice" value="${goods.marketPrice}"><br>
    本店售价：<input type="text" name="shopPrice" value="${goods.shopPrice}"><br>
    促销价格：<input type="text" name="promotePrice" value="${goods.promotePrice}"><br>
    是否开售：<select name="isOnsale">
    <option value="1">开售</option>
    <option value="0">不开售</option>
</select>
    <input type="submit" value="提交">
</form>
</body>
</html>
